current location:Home>Technical Articles>Backend Development>Golang
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
- Implement data validation in Go
- Data validation is an important part of software development. It makes sure that input data is accurate and meets the requirements before processing or storing it. In Go, data validation is simple and flexible. This guide will teach you how to use
- Golang 586 2024-08-19 12:31:20
- Authentication with Golang and AWS Cognito
- What is cognito? The authentication of an application is something very important in the system, but also very sensitive, there are various implementations, security, validation to be considered. I decided to make a post demonstrating a about
- Golang 191 2024-08-19 06:32:11
- range-over-func in Go
- Go1.23 has brought the range-over-func feature that was an experiment in go1.22 to real use. If anyone has read the sample code, you may have to meditate for a bit. Don't do that. P'Yod will explain in a very simple way for you to read. Let's start with the spec of For statements with range clause.
- Golang 224 2024-08-19 04:42:32
- Go Redis Crud quickly example
- Install dependencies and environment variable Replace the values from database connection with yours. #env file REDIS_ADDRESS=localhost REDIS_PORT=6379 REDIS_PASSWORD=123456 REDIS_DB=0 #install on go go get github.com/redis/go-redis/v9
- Golang 707 2024-08-18 06:45:41
- Understanding Go terators
- Many people seem to be confused by newly added iterators in Go, that is why I decided to write another one article attempting to explain them in a simple as possible way. How are they called by Go? First, I think it is important to unders
- Golang 906 2024-08-18 06:32:06
- Day ??? of learning go. Building cli apps
- Why cli?? I have always had a preference for command line interface (CLI) and terminal user interface (TUI) tools over their graphical user interface (GUI) counterparts. This project, aptly named "Phraser" (no apologies for the poor namin
- Golang 928 2024-08-16 16:31:22
- Asciinema vs Savvy CLI: Terminal recording tools
- Savvy CLI and Asciinema are both powerful tools that can record terminal activity, but they serve different purposes and are built with different core functionalities. Savvy Purpose and Functionality Savvy CLI is primarily designed to au
- Golang 720 2024-08-16 12:32:10
- Query a database Using Go
- Step 1: Install the MySQL driver First, you'll need to install a MySQL driver for Go. A popular one is go-sql-driver/mysql. You can install it using: go get -u github.com/go-sql-driver/mysql Step 2: Write the Go code Here’s an example of how y
- Golang 161 2024-08-16 07:06:42
- Maintainable SQL Query Building with Golang
- Any application working with SQL queries can benefit from using a query builder to improve code readability, maintainability, and security. In fact, there are many different libraries that do just that in Golang. Here at Vaunt, we tried many differen
- Golang 221 2024-08-16 07:04:32
- A comprehensive explanation of go generics
- Go generics enable type parameterization, enhancing code conciseness, reusability, and type safety. Key benefits include error prevention, code reuse, and performance optimization. Generics facilitate reusable, maintainable, and performant code shari
- Golang 769 2024-08-15 14:02:18
- go calls function result on nil
- In Go, invoking a function on a nil pointer triggers a panic and program crash due to invalid memory reference, resulting in a segmentation fault. This behavior applies to both function calls and method invocations on nil receivers, as nil pointers a
- Golang 977 2024-08-15 14:01:14
- The difference between errors as and errors is
- This article explains the difference between 'errors as' and 'errors is' in Python's exception handling using try and except. 'errors as' introduces a variable to store the exception, allowing access to its details. 'errors is' checks for specific ex
- Golang 557 2024-08-15 14:00:18
- Detailed explanation of golang package package management
- This article provides best practices and tips for effective dependency management in Go, including using the go get command and Go Module system, organizing packages using the Go standard directory layout, troubleshooting common issues like dependenc
- Golang 815 2024-08-15 13:58:18
- go mongodb packaging tutorial
- This article provides guidance on encapsulating MongoDB operations in Go using an ORM library like mgo. It highlights the benefits of using ORM, such as a simplified API, reduced boilerplate code, and data validation. The article also includes an exa
- Golang 529 2024-08-15 12:19:19
- How to use go mongodb
- This article provides an overview of connecting to, querying, and handling errors in MongoDB using Go. It discusses different methods for connecting to a MongoDB database, querying and retrieving data, and handling errors and exceptions.
- Golang 204 2024-08-15 12:18:19